* {
	/* 页面初始化 清除元素的内外边距 */
	padding: 0;
	margin: 0;
}
body {
	/* 宽度占浏览器可视区域的高度 */
	width: 100vm;
	background-color: #f2f2f2;
}
li {
	/* 清除li元素前面的项目符号 */
	list-style: none;
}
a {
	/* 清除a元素的下划线 */
	text-decoration: none;
	color: #000;
}
.navbar {
	width: 100%;
	height: 70px;
	background-color: #fff;
	/* 盒子阴影 */
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}
.navbar .nav {
	width: 300px;
	height: 100%;
	float: right;
}
.navbar .nav ul {
	/* 相对定位 */
	position: relative;
	/* 弹性布局 */

	/* 让子元素平均分配宽度 */
	justify-content: space-around;
	width: 100%;
	height: 100%;
}
.navbar ul li:first-child img {
	height: 100%;
	width: 70px;
	border-radius: 50%;
}
.navbar .nav ul > li {
	width: 100%;
	height: 100%;
}
.navbar .nav ul > li > a {
	/* 因为a元素是行内元素 必须将其转为行内块或者块级才能设置宽度和高度 */
	display: block;
	width: 100%;
	height: 100%;
	line-height: 70px;
	text-align: center;
}
.navbar .nav ul > li ol {
	width: 100%;
	background-color: #fff;
	box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
	/* 让盒子先沿着y轴缩放到0 也就是隐藏了 */
	transform: scaleY(0);
	/* 我们需要将盒子从上面滑动下来 设置一下缩放的中心点即可 设置到最上面的中间位置 */
	transform-origin: 50% 0;
	/* 设置过渡 */
	transition: all 0.6s;
}
.navbar .nav ul > li ol li {
	height: 70px;
	border-bottom: 1px solid rgb(245, 245, 245);
}
.navbar .nav ul > li ol li a {
	display: block;
	width: 100%;
	height: 100%;
	line-height: 70px;
	text-align: center;
}
.navbar .nav ul > li ol li:hover {
	background-color: rgba(0, 0, 0, 0.03);
}
.navbar .nav ul > li:hover ol {
	transform: scaleY(1);
}

/*修改*/
.account-settings {
  width: 600px;
  height: 352px;
  margin-right: 100px;
  background: #f9f9f9;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}

.account-settings h2 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-weight: 600;
  color: #333;
}

.account-settings form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #333;
}

.account-settings form input[type="text"],
.account-settings form input[type="password"] {
  display: block;
  width: 100%;
  padding: 0.5rem;
  border: none;
  background-color: #f0f0f0;
  border-radius: 5px;
  margin-bottom: 1rem;
}

.account-settings button.button {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 5px;
  color: #fff;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.2s ease-in-out;
}

.account-settings button.save-button {
  background-color: #6777ef;
}

.account-settings button.save-button:hover {
  background-color: #5569d4;
}

.account-settings button.cancel-button {
  background-color: #dc3545;
  margin-left: 0.5rem;
}

.account-settings button.cancel-button:hover {
  background-color: #bd2130;
}
/*xx*/
    /* 样式表，用于美化页面布局和元素样式 */
    .container {
      background: #fff;
      border-radius: 5px;
      box-shadow: 0 0 25px rgba(0, 0, 0, 0.2);
      max-width: 500px;
      margin: 50px auto;
      overflow: hidden;
    }

    .container h2 {
      font-size: 28px;
      font-weight: bold;
      color: #333;
      text-align: center;
      margin-top: 20px;
    }

    .container form {
      width: 93%;
      padding: 20px;
    }

    .container form label {
      font-weight: bold;
      font-size: 18px;
      display: block;
      margin-bottom: 8px;
      color: #666;
    }

    .container form input[type=text],
    .container form input[type=password] {
      border: none;
      border-radius: 5px;
      font-size: 16px;
      padding: 15px;
      width: 93%;
      margin-bottom: 10px;
      box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    }

    .container form input[type="submit"] {
      background: #0099ff;
      color: #fff;
      border: none;
      border-radius: 5px;
      font-size: 18px;
      padding: 15px 30px;
      cursor: pointer;
      transition: background 0.3s ease-in-out;
      margin-top: 20px;
      width: 100%;
      display: block;
    }

    .container form input[type="submit"]:hover {
      background: #0077cc;
    }